body { 
    margin: 0; 
    overflow: hidden; 
    font-family: Arial, sans-serif; 
}

canvas { 
    display: block; 
}

.sort-control {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.sort-control label {
    margin-right: 10px;
    font-weight: bold;
    color: #333;
}

.sort-control select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
    cursor: pointer;
}

.tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    pointer-events: none;
    display: none;
    z-index: 1000;
}




 .time-control {
     position: absolute;
     top: 10px;
     left: 50%;
     transform: translateX(-50%);
     background: rgba(255, 255, 255, 0.9);
     padding: 10px 20px;
     border-radius: 5px;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     z-index: 100;
     display: flex;
     align-items: center;
     gap: 10px;
     font-family: Arial, sans-serif;
 }

 .time-control button {
     padding: 5px 10px;
     background: #4CAF50;
     color: white;
     border: none;
     border-radius: 3px;
     cursor: pointer;
     font-size: 14px;
 }

 .time-control button:hover {
     background: #45a049;
 }

 .time-control input[type="range"] {
     width: 150px;
 }

 .time-control select {
     padding: 5px;
     border-radius: 3px;
     border: 1px solid #ddd;
 }

 .tooltip {
     position: absolute;
     background: rgba(0, 0, 0, 0.8);
     color: white;
     padding: 5px 10px;
     border-radius: 3px;
     font-size: 12px;
     pointer-events: none;
     z-index: 1000;
     display: none;
 }